home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 1-4 / Prograph Reference 1-4.rsrc / TEXT_141.txt < prev    next >
Encoding:
Text File  |  1995-10-21  |  14.9 KB  |  608 lines

  1.  
  2. The Info Menu*55*
  3.  
  4. Items on this menu:
  5.  
  6. o display information about different categories of elements
  7.  
  8. o control visibility and propagation of comments
  9.  
  10. o control visibility of class hierarchies*55*
  11.  
  12. o display error and warning messages
  13.  
  14. o check program syntactic correctness
  15.  
  16. o display information about available memory
  17.  
  18. o allow the user to specify certain interface preferences *55*
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. Display of Information*56*
  34.  
  35. The ÀôInfo‚Ķ dialog has the following format:
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56. Just below the title bar of the ÀôInfo‚Ķ dialog is a pop-up menu that specifies the category of information displayed. 
  57.  
  58. In the scrolling list:*56*
  59.  
  60. o    The items are displayed in alphabetical order, except for Mac Fields which are displayed in the order in which they appear in the Mac structure.
  61.  
  62. o    Typing a sequence of characters selects the first item in the scrolling list that has this character sequence as its prefix, and scrolls it into view.  
  63.  
  64. o    If an item is selected, information is displayed in the info panel.
  65.  
  66. o    Multiple selection is not allowed.
  67.  
  68. The Types button is applicable only for information concerning primitives, as described below.*56*
  69.  
  70. The pop-up menu labeled Transfer pastes the currently selected item in the scrolling list into the currently selected Prograph element. If the top window under the dialog has an active text editor (that is, selecting a Prograph element selects its name or textual label, thus activating a text editor on that text) and an item in the scrolling list is selected, selecting a Transfer menu item pastes the selected name into the edited string in the usual way and brings the window to the front. The Name menu item is available for all kinds of information.  The other three Transfer menu items are applicable only for method and attribute information, and are explained below.
  71.  
  72.      Primitives*57*
  73.  
  74.      Scrolling list:    primitives
  75.  
  76.      Info panel:         inputs/outputs
  77.  
  78.                              function of primitive
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91. The Types button is enabled only for Primitives information. Clicking this toggles the description of inputs and outputs in the info panel between descriptive names for inputs and outputs used in describing the function of the primitive, and the data types of inputs and outputs.
  92.  
  93. Data Types*57*
  94.  
  95. Scrolling list:     supplied Prograph data types
  96.  
  97. Info panel:          range of allowable values 
  98.  
  99.                          a sample value 
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112. Universal Methods*58*
  113.  
  114. Scrolling list:     universal methods
  115.  
  116. Info panel:          comment of method
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Classes*59*
  130.  
  131. Scrolling list:     classes
  132.  
  133. Info panel:           comment of class 
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146. Methods*59*
  147.  
  148. Scrolling list:     methods of previously selected class
  149.  
  150. Info panel:          comment of method
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163. The Methods menu item is enabled only after the Classes menu item has been chosen and a class has been selected.
  164.  
  165. The name transferred depends on which of the four Transfer menu items is selected. 
  166. The string transferred for each item is defined below. In these descriptions, <name> is the item selected in the scrolling list and <class> is the owning class.*59*
  167.  
  168.           Name <name>*60*
  169.  
  170.           //Name //<name> 
  171.  
  172.           /Name /<name> 
  173.  
  174.           C/Name <class>/<name>
  175.  
  176. Attributes*60*
  177.  
  178. Scrolling list:    attributes of previously selected class
  179.  
  180. Info panel:          comment of attribute
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193. The Attributes menu item is enabled only after the Classes menu item has been chosen and a class has been selected. 
  194.  
  195. The name transferred depends on which of the Transfer menu items is selected. Only the Name and /Name formats are available for transferring attribute names. The string transferred for each item is defined below. In these descriptions, <name> is the item selected in the scrolling list.
  196.  
  197.           Name <name>
  198.  
  199.           /Name /<name> 
  200.  
  201. Persistents*60*
  202.  
  203. Scrolling list:    persistents
  204.  
  205. Info panel:          comment of persistent
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218. Mac Methods*61*
  219.  
  220. Scrolling list:     all implemented Mac Methods (toolbox calls)
  221.  
  222. Info panel:          input/output types
  223.  
  224.                           reference to Inside Macintosh 
  225. _______________________________________________________
  226. NOTE:  Mac Methods, Constants, Globals, Structures an d Fields are implemented as externals (refer to the section on ‚ÄúExternal C and Pascal Code‚Äù in Chapter 9). Any external routines, constants, globals, structures and fields will appear in these ‚ÄúMac‚Äù lists.
  227. -------------------------------------------------------
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240. Mac Constants*61*
  241.  
  242. Scrolling list:     all implemented Mac Constants
  243.  
  244. Info panel:          constant value 
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257. Mac Globals*62*
  258.  
  259. Scrolling list:     all implemented Mac globals
  260.  
  261. Info panel:          type
  262.  
  263.                           offset from low memory, or from register A5 for QuickDraw globals
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276. Mac Structs*63*
  277.  
  278. Scrolling list:     all Macintosh records accessible from Prograph
  279.  
  280. Info panel:          size of structure in bytes 
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293. Mac Fields*63*
  294.  
  295. Scrolling list:     fields of previously-selected Mac structure, sorted by offset
  296.  
  297. Info panel:          data type
  298.  
  299.                           type of record to which field belongs
  300.  
  301.                           offset of field in record
  302.  
  303.                           size of field in bytes
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316. The Mac Fields menu item is enabled only after the Mac Structs menu item has been chosen and a structure has been selected. *63*
  317.  
  318. Comment Visibility*64*
  319.  
  320. Show Comments, Hide Comments*64*
  321.  
  322. These items respectively display and hide all comments on elements in the front edit window.
  323.  
  324. Comment Propagation*64*
  325.  
  326. Propagate Comments, Strip Comments*64*
  327.  
  328. Comments are automatically propagated only for newly-created methods and Local operations. That is, comments added to the terminals or roots of existing operations will not propagate to the corresponding roots and terminals of the input and output bars of the associated methods. 
  329.  
  330. To propagate comments associated with the terminals (or roots) of an existing operation or Local operation to the corresponding roots of the input bar (or terminals of the output bar) of its associated method or Local, select the operation and choose 
  331. Propagate Comments. *64*
  332.  
  333. Strip Comments deletes comments from the terminals (or roots) of a selected operation, or from the roots (or terminals) of a selected input bar (or output bar). This menu item does not, however, perform the inverse of Propagate Comments:  comments stripped from a selected operation are not deleted from the corresponding roots of the input bar (or terminals of the output bar) of that method or Local (and vice versa).
  334.  
  335. Class Hierarchy*64*
  336.  
  337. Show Classes, Hide Classes*64*
  338.  
  339. If the icon of a class with hidden subclasses is selected, choosing Show Classes displays the subclasses. If a subclass is selected, choosing Hide Classes hides the subclass icon. A class can only be hidden if all its subclasses are hidden.
  340.  
  341. Errors / Program Correctness / Options*65*
  342.  
  343. Last Error‚Ķ*65*
  344.  
  345. Displays a dialog explaining the last error encountered (see the example dialog below).
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356. Clicking on the OK button dismisses the dialog, and no action is taken in the last front window. 
  357.  
  358. Check Program*65*
  359.  
  360. Does a syntax check on the current Prograph program. If an error is encountered (such as an unnamed method or operation, or a Next Case control in the last case of a method), the interpreter‚Äôs normal error mechanism will be invoked: the window with the questionable element will be opened, the element will be highlighted and flashing, Prograph will beep twice, and an error message will be available. If no errors are encountered, nothing will happen.
  361.  
  362. Memory Status*65*
  363.  
  364. Displays a dialog showing the amount of free and reserve memory.
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372. The reserve memory is allocated when Prograph is launched, as well as whenever New is selected from the File menu. If a request for memory cannot be satisfied with the available free memory, the reserve memory is released and a warning dialog is displayed.
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383. Options…*66*
  384.  
  385. Displays a dialog in which various parameters of the Prograph environment can be set. 
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404. Initial File*66*
  405.  
  406.      An editable-text field that specifies the name of a file to be loaded automatically.
  407.  
  408. Cmd-click to create Prograph objects*66*
  409.  
  410.      The Cmd-click option allows you to set the way in which you create a new Prograph 
  411.      element, either by simple clicking or by Cmd-clicking in space.
  412.  
  413. If you choose the Cmd-click option and you are working in the Prograph Classic editor: 
  414. *67*
  415. o    Cmd-click in space creates a new Prograph element,
  416.  
  417. o    Click in space deselects any selected element(s),
  418.  
  419. o    Cmd-click on an element toggles comments between visible and      invisible.*67*
  420.  
  421. If you choose the Cmd-click option and you are working in the Prograph Classic Application Builder‚Äôs Window editor: 
  422.  
  423. o    Click in space deselects any selected element(s),*67*
  424.  
  425. o    Cmd-click-drag in space creates and sizes a new window item,
  426.  
  427. o    Option-Cmd-double-click opens the Window Specification editor.
  428.  
  429. o    Option-Cmd-drag moves the window, or resizes it if the click       happens in the grow-box area.*67*
  430.  
  431. When creating a datalink (by holding down the Option key), you must also press the Command key and click to create a new root, terminal, oper, or class.
  432.  
  433. File Preferences: Load File on New*67*
  434.  
  435.      The initial file is loaded whenever New is chosen from the File menu.
  436.  
  437. File Preferences: Load File At Start Up*67*
  438.  
  439.      The initial file is loaded whenever Prograph is launched.
  440.  
  441. File Preferences: Make Backups*67*
  442.  
  443.      This box is checked by default. If it is checked, Prograph provides the following 
  444.      backup procedure when saving files.
  445.  
  446.      When a file ¬´A¬ª is saved for the first time, ¬´A¬ª in memory is saved as ¬´A¬ª on 
  447.      disk.
  448.  
  449.      When ¬´A¬ª is saved again, ¬´A¬ª on disk is renamed to ¬´A.bak¬ª, and ¬´A¬ª in memory 
  450.      is saved as ¬´A¬ª on disk.
  451.  
  452.      When ¬´A¬ª is saved again, ¬´A.bak¬ª on disk is deleted, ¬´A¬ª on disk is renamed to 
  453.      ¬´A.bak¬ª , and ¬´A¬ª in memory is saved as ¬´A¬ª on disk.*67*
  454.  
  455.      If ¬´A¬ª is saved and for some reason the save is aborted, the (possibly garbaged) 
  456.      ¬´A¬ª on disk is deleted and ¬´A.bak¬ª is renamed to ¬´A¬ª.
  457.  
  458. File Preferences: Run on Launch*68*
  459.  
  460.      If this box is checked (the default), double-clicking on a Prograph program 
  461.      document will launch Prograph and also start the program running. Holding down 
  462.      either the mouse button or the command key while Prograph is launching will 
  463.      defeat this, bringing up the Prograph editor instead.
  464.  
  465.      If this box is not checked, double-clicking a Prograph document will launch 
  466.      Prograph with the editor active. In this case holding down the mouse button or the 
  467.      command key will launch Prograph with the program running. 
  468.  
  469. Message Preferences: Error Messages*68*
  470.  
  471.      When an error occurs, an explanatory dialog appears whenever an error is 
  472.      signaled by a beep. (When unchecked, the explanatory dialog is still available by
  473.       choosing Last Error‚Ķ from the Info menu.)
  474.  
  475. Message Preferences: Warning Messages *68*
  476.  
  477.      When checked, any destructive action displays an explanatory dialog that allows 
  478.      the user to either proceed with or abort the action.
  479.  
  480. Message Preferences: Startup  Messages *68*
  481.  
  482.      When Prograph launches, it checks its table of references to externals files 
  483.      against the actual files present in the Prograph Extensions folder. If there has been 
  484.      any change in the contents of this folder, the table is rebuilt.
  485.  
  486.      If the Startup Messages option has been checked and you double-click a Prograph 
  487.      document to launch Prograph, and it needs to rebuild this table, it will display the 
  488.      names of the files being loaded in a small rectangular window. If the Startup 
  489.      Messages option is unchecked, this display will not take place. This may be 
  490.      desirable if you expect users to be running your application in interpreted mode, 
  491.      and don‚Äôt want them to see this message. 
  492.  
  493.      If you double-click the Prograph Classic application to launch Prograph, the 
  494.      startup messages will always be displayed below the Prograph splash screen if 
  495.      Prograph needs to load in any externals.*68*
  496.  
  497. Info Window(s): Multiple Windows*69*
  498.  
  499.      When checked, multiple ÀôInfo‚Ķ dialogs can be open at the same time. 
  500.  
  501. Method Execution: Close Windows*69*
  502.  
  503.      When checked, all Prograph windows close whenever Execute Method is selected 
  504.      from the Exec menu. 
  505.  
  506. Constant Truncation*69*
  507.  
  508.      An editable-text field that specifies the maximum number of characters displayed 
  509.      for Constants and Matches in Case windows. If this value is altered, all Constants 
  510.      and Matches in open Case windows are resized.
  511.  
  512. Attribute Truncation *69*
  513.  
  514.      An editable-text field that specifies the maximum number of characters displayed 
  515.      for the value of an attribute in Attributes windows. If this value is altered, the 
  516.      values of attributes in all Attributes windows are immediately updated.
  517.  
  518. OK*69*
  519.  
  520.      Clicking this button puts the displayed settings into effect, but only for the current 
  521.      session. 
  522.  
  523. Save Settings*69*
  524.  
  525.      Clicking this button not only puts the displayed settings into effect for the current 
  526.      session, but also saves them as a feature of the Prograph  Classic application.
  527.  
  528. Cancel*69*
  529.  
  530.      Dismisses the dialog without affecting environment parameters.
  531.  
  532. The Windows Menu*70*
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549. Universal Methods, Classes, Persistents*70*
  550.  
  551. Selecting these opens the Universal methods, Classes, and Persistents windows respectively.
  552.  
  553. Methods‚Ķ, Attributes‚Ķ*70*
  554.  
  555. A dialog is opened displaying a scrolling list of classes. A class can be selected from this list, and its Methods (or, respectively, Attributes) window opened.
  556.  
  557. Local Heritage‚Ķ*70*
  558.  
  559. This menu item is only available if the case window of a local is the front window. It opens a dialog displaying the path from the Local to the top-level method containing it. The path is displayed in a scrolling list with the top-level containing method at the top. In the example below, the Local read disk occurs in a case of the Local get files, which occurs in a case of the Local open file, which occurs in a case of the universal method file browser.
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569. Select*71*
  570.  
  571. If a method in the hierarchy is selected, clicking this button dismisses the dialog and opens the first case of the selected method. Double-clicking on an item in the list is equivalent to selecting it and clicking the Select button.
  572.  
  573. Cancel*71*
  574.  
  575. This button dismisses the dialog.  
  576.  
  577. Stack*71*
  578.  
  579. Opens the Stack window. 
  580.  
  581. Close Window*71*
  582.  
  583. Closes the currently selected window.
  584.  
  585. Remember Windows*71*
  586.  
  587. Records the locations and sizes of the edit windows currently displayed.  
  588.  
  589. Restore Windows*71*
  590.  
  591. Restores the edit windows last recorded by Remember Windows.
  592.  
  593. Tidy Icons*71*
  594.  
  595. Reorders the icons in a window, aligning them in horizontal rows and spacing them to avoid overlapping. If comments are hidden, the icons will be arranged with no regard for the comments.
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605. Add Scroll Page, Remove Scroll Page*72*
  606.  
  607. Increases (or reduces) the size of the window vertically by one page.  Page size is specified in the Page Setup‚Ķ menu item of the File menu.
  608.